window.DataMangrt = {
    level:0,//当前关卡
    NowMaxLevel: 1,//当前已通关的最大关卡
    nowKillEnemyNum: 0, //当前已击杀敌人数量
    enemyNum:0,//当前关卡需要击杀敌人数量
    bullet_model:null,//子弹类型
    enemyArray : [],//敌人数组
    Game_isWin:false,

    killEnemyNum: {
        level1:10,
        level2:20,
        level3:30,
        level4:45,
        level5:67,
        level6:101,
        level7:151,
        level8:227,
        level9:340,
        level10:500
    
    },
    initData(){
        this.Game_isWin = false;
    },
    saveData(){
        window.localStorage.setItem('NowMaxLevel',DataMangrt.NowMaxLevel);
    },
    getData(){
       return window.localStorage.getItem('NowMaxLevel') ? window.localStorage.getItem('NowMaxLevel') : 1;
    }

    
}



